package com.kitty.game.gm.handler100;

import com.kitty.common.utils.SpringUtils;
import com.kitty.game.role.model.Role;
import com.kitty.game.team.message.RespMsg;
import com.kitty.mina.message.MessagePusher;

public class NCJifen implements NCGmFather {
    @Override
    public void handle(Role role, String petName) {
        int score = Integer.parseInt(petName);
        SpringUtils.getRoleService().addRechargeScore(role, score);
        MessagePusher.pushMessage(role, new RespMsg("发送积分成功！"));
    }
}
